<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/8/16
  Time: 15:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>-指导教师-分配列表</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="../layui/css/layui.css" media="all">
    <script src="../layui/layui.js"></script>
    <script src="../js/jquery-3.1.0.js"></script>

  <style>
    body{background-color: #eeeeee;}
    .layui-row{background-color: white;margin: 10px;padding:10px;}
    select{border: 0.5px solid #eeeeee;}
  </style>
</head>
<body>

<div class="layui-layout layui-layout-admin">


    <%--面包屑--%>
    <div class="layui-row">
        <div class="layui-col-lg12">
             <span class="layui-breadcrumb">
                  <a href="http://localhost/admin/admin.jsp">首页</a>
                  <a class="" href="javascript:;">选题管理</a>
                  <a href="http://localhost/admin/teacher-assign.jsp">指导教师-分配列表</a>
             </span>
        </div>
    </div>

    <%--顶部搜索栏--%>
    <div class="layui-row">
      <div class="layui-col-lg3" style="font-size: 16px;">
        <div class="layui-form-item">
          <label class="layui-form-label">学生学号：</label>
          <div class="layui-input-inline">
            <input type="text" name="sNO" placeholder="学号" class="layui-input">
          </div>
        </div>
      </div>
      <div class="layui-col-lg2">
        <button type="button" class="layui-btn"><i class="layui-icon layui-icon-search" style="font-size: 20px; color: white;"></i>搜索</button>
      </div>
    </div>



    <%--数据表格--%>
    <div class="layui-row">
      <table id="teacherAssign-table" lay-filter="teacherAssign-table"></table>
      <div class="layui-fluid">
        <div class="layui-row layui-col-space15">

        </div>
      </div>
    </div>



</div>
</body>
<%--表内工具栏--%>
<script type="text/html" id="teacherAssignBtn">
  <a class="layui-btn layui-btn-xs" lay-event="teacher-assign">分配指导教师</a>
</script>
<%--弹出层表内工具栏--%>
<script type="text/html" id="teacherChooseBtn">
  <a class="layui-btn layui-btn-xs" lay-event="teacher-choose">分配</a>
</script>
<%--弹出层--分配页面--%>
<div class="layui-row" id="teacherAssign-show-box" style="margin: 20px;display: none">
  <form class="layui-form" action="" lay-filter="teaA-form-query">

    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">学生学号：</label>
            <div class="layui-input-inline">
                <span id="sno"></span>
                <input id="sno1" name="sno" type="hidden">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <label class="layui-form-label">学生姓名：</label>
            <div class="layui-input-inline">
                <span id="sname"></span>
                <input id="sname1" name="sname" type="hidden">
            </div>
        </div>
    </div>
    <%--数据表格--%>
    <div class="layui-row">
      <table class="layui-hide" id="teacherAssign-choose-table"  lay-filter="teacherAssign-choose-table"></table>
    </div>
  </form>
</div>
<%--弹出层--确认分配页面--%>
<div class="layui-row" id="teacherAssign-choose-box" style="margin: 20px;display: none">
    <form class="layui-form" action="" lay-filter="component-form-group">
        <div class="layui-form-item">
            <div class="layui-input-block">
                <label class="layui-form-label">学生编号：</label>
                <div class="layui-input-inline">
                    <span id="sNO2"></span>
                    <input id="sNO3" name="sNO2" type="hidden">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <label class="layui-form-label">教师工号：</label>
                <div class="layui-input-inline">
                    <span id="tNO2"></span>
                    <input id="tNO3" name="tNO2" type="hidden">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <label class="layui-form-label">教师姓名：</label>
                <div class="layui-input-inline">
                    <span id="tName"></span>
                </div>
            </div>
        </div>
        <div class="layui-col-lg1 layui-col-lg-offset4">
            <button class="layui-btn" name="teacherAssign-edit-btn1" lay-submit lay-filter="edit">分配</button>
        </div>
        <div class="layui-col-lg1 layui-col-lg-offset1">
            <button class="layui-btn">取消</button>
        </div>
    </form>
</div>
<script src="js/teacher-assign.js"></script>
</html>
